export interface Result<T> {
  code: number
  msg: string
  data: T
}

export interface PageParams {
  current: number
  size: number
  total?: number
}

export interface PageResult<T> {
  records: T[]
  total: number
  size: number
  current: number
  pages: number
}